package com.wxxymakers.grademark.model.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wxxymakers.grademark.model.entity.WxIncident;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

public interface WxIncidentMapper extends BaseMapper<WxIncident> {

    /**
     * 不加入关联数据的查询
     *
     * @param id 主键
     */
    @Select({
            "select *",
            "from wx_incident",
            "where Id = #{id,jdbcType=INTEGER}"
    })
    @ResultMap("com.wxxymakers.grademark.model.mapper.WxIncidentMapper.BaseResultMap")
    WxIncident selectByIdNJ(Integer id);
}